added getter for img
inital stage of implementation