fixed issues #2 and #4. also added additional images for testing purposes