added pic validation function
working on picput conversion