added point system functionality