parameterize some stuff