more functions implemented for the pic