logicentities.cpp #1