fixed bug with sales code

optimised and bugles
name changes