various small code to try out some functions.