resource management via deleteStatement(); added nil, boolean types