Another try
Solved cant use methorn return value in write context