add hint method