start of adding new function
add new functionality