constructor bugfix and add boolean obtainer