remove nil? something's really strange here, not sure why this isn't working