Added custom dictionary implementation