Removed duplicated tick method.
Code formating.