get character method