fixed nesting issue, syntax got ugly
updated readme