Implemented corners properly (tail / head still to go)
Development version