Code for my FYP