Modifying coreloop