changed load and tick functions
