properties, cleanup and stuff