add end methods