initially added codes