Added sell rate removed old code