utility to generate labs