gerenal tidying and doccing