added comments - removing .slice