Added some error detection