new method specification added
changed long to slong