Added sam compiler