function end takes dummy arguments
implemented template#super
added test cases