add support for slim

add support for slim