adds result number to the front