add type signatures to fix warnings