finished dev card controller