got rid of initImages