remove unused import
add miscellaneous helpers