import realistic machine model
add padding capability