added ego and super ego mapping