Resolved closing bracket issue