help with programming photovore if statment