now removing some unwanted controller code