initial version of spinner component