Included some error checking