move libs loading to external file
print func not needed