Overhauled stdlib lab