converted from erb to slim