added dictionay with tests and fucntionality