Eric's auto-aim code