separate parameters from the structure