tidied up repo