contains some miscellous code snippets