added lock and portal, stopped rotation with sword