Removed useless time variable, fixed anchoring