added farming X logic