added pic functionality
remove unused file