flash works, still needs error checking