add integer, string, float method. fix init spec