Added rag adjust