added code for glider and acorn