fixing inp and inb now.