Added functions

Signed-off-by: Alberto Corona <albcoron@gmail.com>