added functions for more functionality