added active parameter to mems