added key controls