implemented a couple more methods and their tests