Added required functions