Made open landing a function for easy debugging