+ adding code for calculating combinations