renamed startTransaction to beginTransaction