added first controller portion