added a few functions

will work on more later