added explicit type checking
added quantity exec file
added + operator and accessor