almost finished, added multiple trials