cleaned up code still in testing image don't work