create populate method for easier tests