lower upper case bug
placing the plots dynamically
removed unused image function