Adding varsens code