Added error attribute
Added comments