added codes for asep