Use && instead of and.