Added more functions, updated examples