writting some class