Refactored for check nil but something went wrong….
removed checkNil method
Added image method