some progress, gotta context switch to site maintenance
a little library function