added paramaters to frontend