corrected compilation error
added specs
added spec stub