added platforms along with some bugs :(