mems are reviewed and fixed. works as expected.