Added simple SAM framework