explicitly checking the type of startValues