Sample Controller