The original had an initial error, the chick kept flying to the top. This was caused by the gravity variable being replaced by the timer variable which in effect confused the program, all sorted now though!