correctly typed for slim