Some Sample Codes