modify buy behavior