for testing code