separated from jar for test