changes to controllers