following working properly, bugs in PIN, adam to the rescue