implemented field gain and finish detetction
enhanced server-client communication and implemented rules