removed .a file
first go at basic error handling