removed promise from controller