added support for slim