adding minor modifications