should work better this way