Basic weighted routine added