initial implementation of {active,N}