Added apel handler