adding a few new funcs