added a fill method for testing purposes