added buy support
added buy support