funtions upto dictionary