Separated populate into various functions