practice with external cntroller file