add some validations
add handler count to entry