sample
changed pit selection and cleaned up things