basics up to debugging done