stem-based def implemented