Added footer control function