added logic of collision and list of platforms and activators