add controller behaviour