[AESH-98]
added write methods and renamed method to make it more coherent