basic flick code