add ink
refactoring ink and devise