this is for testing from code