Changed code to allow for bigger platform