add slow and fast methods and unit tests