Get some pin functionality working