added the ability to upload image