adding # to the logic