remove unused commented code
save and load positions