Framework for sim