function updates

Signed-off-by: shawnsandy <shawnsandy04@gmail.com>