Added int answer to function