basic framework for client view