Added README and fix for the bug