improved the code - no warnings