adding controller hack