changed header, fixed error