Including slr function