Changed error type from int to boolean [CRP-19]