changed get character method