added log4j and the first method to slave