removed extraneous param in tick function