fixed method declaration

Signed-off-by: Blessing Osakue <iyoworks@gmail.com>