* committing brackets controller function