some handy functions