attempted to make photo upload optional