light refactoring
send more data in params to server