-tidied up my code

optimizing