bug fixes and descriptions

no new functions, just some fixes and added descriptions to already
made functions