added functions for getting info