Moved code to slepro