flash not working correctly yet