auto-focus working, but messy