simplified implementation
Converted to 2 spaces indentation
Updated readme