add buy edit, PLEASE check it