Added { and } to fuction