added a few practice for bug free coding