Random missing files and function parameters

Signed-off-by: emanuele <emanuele45@gmail.com>