Some debug, and some optimisations