getting all teh codes