Repository if small reusable functions