adds simple functionality and test