this line is duplicated below and shouldn't be called here