Added more features to "buy" portion