testing code snippet