added code to return answer to console