image displayed properly but probably not the best method to use