less loop time exit and added 5 to X coord