plot lib workin at basic level