Adding useful codes to repository