setup methods to get images