a first second attempt at the difficult part