added console.log shortcuts, rearranged the placement