remove unused code  and start adding ghost cells