ple week insert function