turn function and removed calibrate button from layout