doing the sub right