a bunch of optimisations made