Added advance function to character