lotta functions