added logic for inky
stuff