added functionality plus gitignore for .idea/