fyp collaborative drawing
rearrange code