how commission works