it does both