uncommented funcs that use plt