manually reading input dictionary
added initial dictionary function