Added return's in key.go to make sure we execute just 1 operation per execution