Design with Js, only have two more functions to go