said compensation consisted of the advanced payment of two months' salary