Bug fixing, testing inputs