replaced author var name with user. mistake when moving code around.