Working on validating image