reverted to old way of doing canfly()