Not entirely sure about this way of handling parameters