added signs in appropriate places