make a machines resource and adjust layout