added a few more utility functions, added semi-colons for function assignment