added base conversions helpers