removed irrelevant methods from controller