Making staticController work