made the /images/ directory an instance variable