implemented save params