added stub for endpart