everything here can work in PS as well. Thanks for the method!