added begin method