check variable if available before use
readme