make functions static