Move generate function to placeholder