should this not be in a let?