more functions for lachlan