changed to detect if block under you