added comments and removed ILP