Method begin and end