removed test function in ctrl