ruby implemented and java skeleton