boolean method implemented