Separated Function declaration and function call.

Signed-off-by: Elavarasanlee <lee.jsss15@gmail.com>