this is one way to sort out this problem