added stem lib, utilize it