Slice of pie part 2

Commit of proper code for slice of pie part 2