Fixed error and added dictionary output