What code have you got for that part so far?

(it's much easier to modify what you have than to start again and then modify it)