else condition for empty pins