updated for 800x600 resolution