resolved issues #4 #10 and #11 beginnings of #6 implemented