some example functionality added + tests