added buy method. not working yet