adding image handling...albeit very basic