updating header
adding documentation